<? include '../server_config.php'; ?>
<? 

if($_SESSION['admin']!=true)
{
	?>
	<script>location.href='login.php'</script>
	<?
	return;
}

?>
<br>
Personal Order<br>
<br>
<hr>
<br>
<?
	$sql = "SELECT * FROM ud_order ORDER BY reg_timestamp DESC;";
	
	
	$result = mysql_query($sql,$connect);

	while($row = mysql_fetch_row($result))
	
	{
		echo $row[1]." - ".$row[2]." - ".$row[3]." - ".$row[5]."<br>".$row[4]."<br><br>";
		
	}

?>
